package com.le.tester.tip.timedtask.springown;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * createTime：2022/10/13 15:17
 * description：使用spring自带的
 */
@Component("PayPeriodTask")
public class Task {

    @Scheduled(fixedRate = 500L)
    public void periodUse() {



    }
}
